

namespace Stee.CAP8.MessageBus.Kafka.Constants
{
    using Stee.CAP8.MessageBus.Interface.Models;

    /// <summary>
    /// Constants for manipulating Kafka message headers
    /// </summary>
    public static class HeaderKeys
    {
        /// <summary>
        /// Header key for identifying message data/payload type
        /// </summary>
        public const string HeaderKeyMessageType = "MessageType";


        #region Message Types

        /// <summary>
        /// Command message type full name
        /// </summary>
        public readonly static string MessageTypeCommand = typeof(CommandMessage).FullName;

        /// <summary>
        /// Event message type full name
        /// </summary>
        public readonly static string MessageTypeEvent = typeof(EventMessage).FullName;

        #endregion Message Types
    }
}
